package com.hxt.util;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 类说明：日志工具类
 * 
 * @author gaoLi
 * @version 1.0
 */
public class LogsUtil {
	
	private static Logger logger ;
	
	public static void printTime(Class clz,String title,Object src)
	{
		logger= LoggerFactory.getLogger(clz);
		logger.info(StringUtil.timeString(title, src));
	}
	
	
	public static void printString(Class clz,String title,Object src)
	{
		logger= LoggerFactory.getLogger(clz);
		logger.info(StringUtil.formatString(title, src));
	}
	
}
